import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)

/**
 * Write a description of class bulletG here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class bulletG extends Bala
{
    int dir=0;
    int by;
    public bulletG(int dir)
    {
        this.dir=dir;
        if(dir==2)
            setRotation(180);
       
    }

    public void act() 
    {
        move(dir);
     // setLocation(getX(),by);}
    }    
    
}
